.ball {
    position: absolute;
    background: blue;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: inset 5px -5px 10px #fff;
}

.ball::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 14px;
    display: block;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 5px 4px #fff;
}